<script setup lang="ts">
const props = defineProps(['info', 'money'])
console.log(props.info)
</script>

<template>
  <div class="son">
    <h1>我是儿子</h1>
    <div>{{ info }}</div>
    <div>{{ money }}</div>
  </div>
</template>

<style scoped>
.son {
  width: 400px;
  height: 200px;
  background: hotpink;
}
</style>
